import requests

session = requests.Session()

# res_register = session.post( url="https://www.wanandroid.com/user/register", data={
#     "username": "zm123456123456",
#     "password": "zm123456",
#     "repassword": "zm123456",
# })
# print(res_register.text)


res_login = session.post( url="https://www.wanandroid.com/user/login", data={
    "username": "zm123456123456",
    "password": "zm123456"
})
print(res_login.json())

res_collect = session.post( url="https://www.wanandroid.com/lg/collect/1165/json" )
print(res_collect.text)

res_collect_list = session.get( url="https://www.wanandroid.com/lg/collect/list/0/json" )
print(res_collect_list.text)


